package com.java.interview.i设计模式.模板模式.my;

import com.java.crazy.utils.LogUtils;
import com.java.crazy.utils.NumberUtil;

/**
 * @Description:
 * @Auther: sixbing  QQ:414409451
 * @Date: 2018/11/4 11:29
 */
public class BusCarBean extends CarBean {

    @Override
    public double getRadius() {
        return 0.6;
    }

    public static void main(String[] args) {
        BusCarBean busCarBean = new BusCarBean();
        busCarBean.setTurnRate(200);
        LogUtils.logi(NumberUtil.getNumByScale(busCarBean.getSpeed(), 1) + " km/h");
    }
}
